import instance from '@/utils/request'
export function Register(data = {}) {
    return instance.request({
        method: 'post',
        url: 'accounts/register',
        data
    })
}
export function Login(data = {}) {
    return instance.request({
        method: 'post',
        url: 'accounts/login',
        data
    })
}
export function Logout(data = {}) {
    return instance.request({
        method: 'put',
        url: 'accounts/logout',
        data
    })
}